package com.xd.core.business.controller;


import com.xd.core.business.service.IInformationService;
import com.xd.core.business.vo.InformationVo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 用印资料表 前端控制器
 * </p>
 *
 * @author zch
 * @since 2025-06-24
 */
@RestController
@RequestMapping("/information")
@Api(tags = "用印资料管理")
public class InformationController {

    @Autowired
    private IInformationService service;

    @GetMapping("/getInfomationList")
    @ApiOperation("获取用印资料")
    public List<InformationVo> getInfomationList(String uid, String typeOfSealUsed) {
        return service.getInfomationList(uid,typeOfSealUsed);
    }
}
